package com.enba.mall.core.orders.order.req;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class OrderPayReq {

  @ApiModelProperty("订单编号")
  @NotBlank(message = "订单编号不能为空")
  private String orderNo;

  @ApiModelProperty("支付方式(0-银联支付,1-支付宝,2-微信)")
  @NotNull(message = "支付方式不能为空")
  private Integer paymentMethod;
}
